import React from "react";
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import Layout from "../views/Layout";


export default function AppRouter() {
  return (
    <Router basename={process.env.REACT_APP_ROUTER_BASE || ""}>
      <Switch>
        <Route path="/" render={() =>  <Layout />} />
      </Switch>
    </Router>
  );
}
